package shuai.model;

import java.math.BigDecimal;


/**
 * Books entity. @author MyEclipse Persistence Tools
 */

public class Books  implements java.io.Serializable {


    // Fields    

     private BigDecimal id;
     private Publishers publishers;
     private Categories categories;
     private String title;
     private String author;
     private BigDecimal publishdate;
     private String isbn;
     private String price;


    // Constructors

    /** default constructor */
    public Books() {
    }

    
    /** full constructor */
    public Books(Publishers publishers, Categories categories, String title, String author, BigDecimal publishdate, String isbn, String price) {
        this.publishers = publishers;
        this.categories = categories;
        this.title = title;
        this.author = author;
        this.publishdate = publishdate;
        this.isbn = isbn;
        this.price = price;
    }

   
    // Property accessors

    public BigDecimal getId() {
        return this.id;
    }
    
    public void setId(BigDecimal id) {
        this.id = id;
    }

    public Publishers getPublishers() {
        return this.publishers;
    }
    
    public void setPublishers(Publishers publishers) {
        this.publishers = publishers;
    }

    public Categories getCategories() {
        return this.categories;
    }
    
    public void setCategories(Categories categories) {
        this.categories = categories;
    }

    public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return this.author;
    }
    
    public void setAuthor(String author) {
        this.author = author;
    }

    public BigDecimal getPublishdate() {
        return this.publishdate;
    }
    
    public void setPublishdate(BigDecimal publishdate) {
        this.publishdate = publishdate;
    }

    public String getIsbn() {
        return this.isbn;
    }
    
    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    public String getPrice() {
        return this.price;
    }
    
    public void setPrice(String price) {
        this.price = price;
    }
   








}